package com.dog.basics.netty.business.impl;
import com.dog.basics.netty.business.IBusinessServer;
import com.dog.basics.netty.protobuf.dto.DogNewsContentDto;
import io.netty.channel.ChannelHandlerContext;
import lombok.extern.log4j.Log4j2;

/**
 * @description: 异常上报请求
 * @author: He
 * @date: Created in 2020/10/9 10:41
 * @version: 1.0
 * @modified By:
 */
@Log4j2
public class ResponseHandlerImplAbnormalReport  implements IBusinessServer<DogNewsContentDto.Message> {

    /**
     * 异常上报请求 - 执行
     * @param ctx
     * @param msg
     */
    @Override
    public void businessHandler(ChannelHandlerContext ctx, DogNewsContentDto.Message msg) throws InterruptedException {
        log.info("异常上报请求消息:{}", msg.toString());
    }
}